package com.qsbc.pygram.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author baomidou
 * @since 2022-12-17
 */
@Getter
@Setter
@TableName("student")
@ApiModel(value = "Student对象", description = "")
public class Student implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("序号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("学号")
    @TableField("Sno")
    private String sno;

    @ApiModelProperty("账号")
    @TableField("username")
    private String username;

    @ApiModelProperty("手机")
    @TableField("telephone_number")
    private String telephoneNumber;

    @ApiModelProperty("姓名")
    @TableField("Sname")
    private String sname;

    @ApiModelProperty("密码")
    @TableField("password")
    private String password;

    @ApiModelProperty("性别")
    @TableField("Ssex")
    private String ssex;

    @ApiModelProperty("邮箱")
    @TableField("email")
    private String email;

    @ApiModelProperty("头像")
    @TableField("picture")
    private String picture;

    @ApiModelProperty("班级")
    @TableField("Sclass")
    private String sclass;


}
